package com.fuego.creditsystemcommodity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Room;

import java.util.List;


public interface RoomMapper extends BaseMapper<Room> {

    List<Room> queryRoomOfHotel(@Param("hotelId") Long hotelId);

    List<Room> queryAllRoom();

    List<Room> queryRoomById(Long houseId);

    List<Room> searchRoom(@Param("title") String roomName);
}
